import request from '@/utils/request'

export default function (action, params) {
  return request({
    url: `/api/baidumap/${action}`,
    method: 'get',
    params
  })
}
